﻿<%@ Page Title="Consultar noticia" Language="C#" MasterPageFile="~/MasterPage/Site.Master" AutoEventWireup="true" CodeBehind="ListaConsultarNoticia.aspx.cs" Inherits="ServicioComunitario2.PaginasWeb.Director.ConsultarNoticia" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<fieldset><legend>Modulo de noticias > Consultar Noticia</legend>
    <asp:GridView ID="listaNoticia1" runat="server" AutoGenerateColumns="False"
     CellPadding="4" ForeColor="#333333" AlternatingRowStyle-BackColor="#e6e6e6" GridLines="None"  
     HorizontalAlign="Center" Style="text-align: center" 
        onselectedindexchanged="listaNoticia1_SelectedIndexChanged"
       >
     <HeaderStyle BackColor="#AA2828"  ForeColor="White" />
<AlternatingRowStyle BackColor="#E6E6E6"></AlternatingRowStyle>
    <Columns>
        <asp:BoundField DataField="idAutor" HeaderText="Num" />
        <asp:BoundField DataField="fechaCorta" HeaderText="Fecha"  />
        <asp:BoundField DataField="autorNoticia" HeaderText="Autor" />
        <asp:BoundField DataField="cuerpoNoticia" HeaderText="Detalle" />
        <asp:CommandField ButtonType="Image" HeaderText="Buscar" 
            SelectImageUrl="~/Imagenes/Search.png" ShowSelectButton="True" />
    </Columns>
</asp:GridView>
</fieldset>
</asp:Content>
